/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/* Disable ugly boxes around images in IE10 */
a img{
  border: 0px;
}

.android-search-box .mdl-textfield__input {
  color: rgba(0, 0, 0, 0.87);
}

.android-header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}


.mdl-textfield--expandable {
  width: auto;
}

.android-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #64ffda !important;
  color: black !important;
}

.android-mobile-title {
  display: none !important;
}


.android-logo-image {
  height: 56px;
  width: 165px;
}


.android-header {
  overflow: visible;
  background-color: white;
}

  .android-header .material-icons {
    color: #777 !important;
  }

  .android-header .mdl-layout__drawer-button {
    background: transparent;
    color: #777;
  }

  .android-header .mdl-navigation__link {
    color: rgb(120, 147, 161);
    font-weight: 700;
    font-size: 14px;
  }

  .android-header .mdl-navigation__link:hover {
    color: rgb(96, 125, 139);
  }

  .android-navigation-container {
    /* Simple hack to make the overflow happen to the left instead... */
    direction: rtl;
    -webkit-order: 1;
        -ms-flex-order: 1;
            order: 1;
    width: 500px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .android-navigation {
    /* ... and now make sure the content is actually LTR */
    direction: ltr;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    width: 800px;
  }

  .android-search-box.is-focused + .android-navigation-container {
    opacity: 0;
    width: 100px;
  }


  .android-navigation .mdl-navigation__link {
    display: inline-block;
    height: 60px;
    line-height: 68px;
    background-color: transparent !important;
  }

  .android-search-box {
    -webkit-order: 2;
        -ms-flex-order: 2;
            order: 2;
    margin-left: 16px;
    margin-right: 16px;
  }

  .android-more-button {
    -webkit-order: 3;
        -ms-flex-order: 3;
            order: 3;
  }


.android-drawer {
  border-right: none;
}

  .android-drawer-separator {
    height: 1px;
    background-color: #dcdcdc;
    margin: 8px 0;
  }

  .android-drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
  }

  .android-drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #8bc34a;
  }

  .android-drawer .mdl-layout-title {
    position: relative;
    background: rgb(96, 125, 139);
    height: 120px;
  }

    .android-drawer .android-logo-image {
      position: absolute;
      bottom: 16px;
    }



/**** Mobile layout ****/
@media (max-width: 900px) {
  .android-content {
    padding: 64px 0 0 0;
}

  .android-navigation-container {
    display: none;
  }

  .android-title {
    display: none !important;
  }

  .android-mobile-title {
    display: block !important;
    position: absolute;
    left: calc(50% - 70px);
    top: 2px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10 break
     consecutive "+" operators in some cases. Therefore, we need to use both
     here to cover all the bases. */
  .android.android-search-box.is-focused ~ .android-mobile-title,
  .android-search-box.is-focused + .android-navigation-container + .android-mobile-title {
    opacity: 0;
  }

  .android-more-button {
    display: none;
  }

  .android-search-box.is-focused {
    width: calc(100% - 48px);
  }

  .android-search-box .mdl-textfield__expandable-holder {
    width: 100%;
  }

}




.el-mdl .mdl-layout__container {
  position: static;
}

.android-logo-image+.el-mdl-site-name {
  display: none;
}

.el-mdl-logo-text {
  color: rgba(0,0,0,.54);
  display: inline-block;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  font-size: 24px;
}

.el-mdl-logo-text-white {
  color: #fff;
  display: inline-block;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  font-size: 20px;
  bottom: 16px;
  position: absolute;
}

.mdl-tabs .mdl-tabs__tab-bar {
  border-bottom: none;
}

.mdl-tabs .mdl-tabs__tab:after {
  height: 2px;
  width: 100%;
  display: none;
  content: " ";
  bottom: 0;
  left: 0;
  position: absolute;
  background: rgb(161, 183, 194);
}

.mdl-tabs .mdl-tabs__tab:hover:after {
  display: block;
}

.mdl-tabs.is-upgraded .mdl-tabs__tab.is-active:hover:after {
  background: rgb(161, 183, 194);
  transition: all .1s;
}

.mdl-menu__container a {
  text-decoration: none;
}

.mdl-layout__header-row .mdl-tabs.is-upgraded .mdl-tabs__tab.is-active {
  color: rgba(69, 90, 100);
}